//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Rain - A Tribute to The Beatles','Cape Fear Community College's Wilson Center','Wilmington, NC','Tuesday','5/7/2024','7:30 PM','6208927','Rain---A-Tribute-to-The-Beatles-5-7-2024'],['Rain - A Tribute to The Beatles','Cape Fear Community College's Wilson Center','Wilmington, NC','Wednesday','5/8/2024','7:30 PM','6207552','Rain---A-Tribute-to-The-Beatles-5-8-2024'],['360 All-Stars','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','5/11/2024','7:30 PM','6025489','360-All-Stars-5-11-2024'],['Viva Mexico','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','5/18/2024','7:30 PM','6245743','Viva-Mexico-5-18-2024'],['Wilmington Dance Theatre: Peter Pan','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/8/2024','2:00 PM','6372675','Wilmington-Dance-Theatre--Peter-Pan-6-8-2024'],['Wilmington Dance Theatre: Peter Pan','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/8/2024','7:00 PM','6372676','Wilmington-Dance-Theatre--Peter-Pan-6-8-2024'],['Shrek The Musical','Cape Fear Community College's Wilson Center','Wilmington, NC','Friday','6/21/2024','7:30 PM','5758568','Shrek-The-Musical-6-21-2024'],['Shrek The Musical','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/22/2024','2:00 PM','5758569','Shrek-The-Musical-6-22-2024'],['Shrek The Musical','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/22/2024','7:30 PM','5758570','Shrek-The-Musical-6-22-2024'],['Shrek The Musical','Cape Fear Community College's Wilson Center','Wilmington, NC','Sunday','6/23/2024','2:00 PM','5758571','Shrek-The-Musical-6-23-2024'],['North Carolina Symphony: Stars And Stripes','Cape Fear Community College's Wilson Center','Wilmington, NC','Tuesday','7/2/2024','7:30 PM','5933376','North-Carolina-Symphony--Stars-And-Stripes-7-2-2024'],['Buddy Guy','Cape Fear Community College's Wilson Center','Wilmington, NC','Tuesday','7/16/2024','7:30 PM','5709364','Buddy-Guy-7-16-2024'],['Iron and Wine','Cape Fear Community College's Wilson Center','Wilmington, NC','Tuesday','8/6/2024','7:30 PM','6254612','Iron-and-Wine-8-6-2024'],['Straight No Chaser','Cape Fear Community College's Wilson Center','Wilmington, NC','Wednesday','8/7/2024','7:30 PM','6279938','Straight-No-Chaser-8-7-2024'],['Justin Willman','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','8/24/2024','7:00 PM','6377232','Justin-Willman-8-24-2024'],['J.B. Smoove','Cape Fear Community College's Wilson Center','Wilmington, NC','Friday','9/13/2024','7:30 PM','6325777','J-B--Smoove-9-13-2024'],['Melissa Etheridge','Cape Fear Community College's Wilson Center','Wilmington, NC','Sunday','9/15/2024','7:30 PM','6374909','Melissa-Etheridge-9-15-2024'],['Herbie Hancock','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','9/21/2024','7:30 PM','6365503','Herbie-Hancock-9-21-2024'],['Kathleen Madigan','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','10/26/2024','7:00 PM','6383793','Kathleen-Madigan-10-26-2024'],['North Carolina Symphony: Grant Llewellyn - Beethoven Symphony No. 9','Cape Fear Community College's Wilson Center','Wilmington, NC','Wednesday','4/30/2070','TBD','4080255','North-Carolina-Symphony--Grant-Llewellyn---Beethoven-Symphony-No--9-4-30-2070']],'Cape Fear Community College','http://www.ticketnetwork.com/ticket/Cape-Fear-Community-College-events.aspx');